#ifndef SAMPLEANALYSISFORM_H
#define SAMPLEANALYSISFORM_H

#include <QWidget>
#include <QCloseEvent>
#include <QShowEvent>
#include <QHideEvent>

#include "isampleanalysisform.h"
#include "SampleAnalysis/BusinessLogic/isampleanalysis.h"
#include "Auxiliary/View/modedialog.h"

#include "sampleinfodialog.h"
#include "sampleinfonumberdialog.h"



namespace Ui {
class SampleAnalysisForm;
}

class SampleAnalysisForm : public ISampleAnalysisForm
{
    Q_OBJECT
public:
    SampleAnalysisForm(QWidget *parent = 0);
    ~SampleAnalysisForm();
    void showEvent(QShowEvent *event);
    void closeEvent(QCloseEvent *event);
    void hideEvent(QHideEvent *event);
    void onDoAnalysis();
    void onCountCompelet();
    void showMessage(const QString &message);

signals:

private slots:
    void on_Btn_newSample_clicked();
    void on_Btn_sampleModel_clicked();
    void on_Btn_sampleCheck_clicked();

private:
    Ui::SampleAnalysisForm *ui;
    ISampleAnalysis *sampleAnalysis;
    ModeDialog *modeDialog;
    SampleInfoDialog *sampleInfoDialog;
    SampleInfoNumberDialog *sampleInfoNumberDialog;
    bool checked;
};

#endif // SAMPLEANALYSISFORM_H
